search for: peername

Displaying 20 results from an estimated 100 matches for "peername".

2009 Aug 20
8
mysql sip realtime
...eneral,siptable so means that I use realtime dynamic exactly ? Is it normal if some parameters from sip.conf still used ? I notice when I change some values in my mysql database, these new values are not directly updated when I reload chan_sip.so module and tape CLI command "sip show peer <peername>". Is it normal ? When I reload chan_sip.so, it seems that connected terminals are no longer detected by Asterisk because when I tape CLI command "sip show peers", there is no results displayed. Any reflexions about that ? thanks in advance for your answers. regards. Harry. ---...
2016 Aug 05
2
Toll free pattern matching
I have this in my config: exten => _800XXXXXXX,1,Verbose(0,${CHANNEL(peername)} Calling ${EXTEN}) same => n,Dial(SIP/tollfree/1${EXTEN}) exten => _1800XXXXXXX,1,Verbose(0,${CHANNEL(peername)} Calling ${EXTEN}) same => n,Dial(SIP/tollfree/${EXTEN}) exten => _NXXNXXXXXX,1,Verbose(0,${CHANNEL(peername)} Calling ${EXTEN}) same => n,Dial(SIP/trunk/1${EXTEN})...
2013 Jan 04
10
Unstable NFS mount at heavy load.
...0302] nfs: server 192.168.1.8 not responding, still trying Jan 4 23:51:00 debvm kernel: [ 1554.982479] nfs: server 192.168.1.8 OK From the server side: Jan 4 23:31:33 Hasim kernel: rpc-srv/tcp: nfsd: got error -104 when sending 140 bytes - shutting down socket Jan 4 23:31:33 Hasim kernel: nfsd: peername failed (err 107)! Jan 4 23:39:50 Hasim kernel: rpc-srv/tcp: nfsd: got error -104 when sending 140 bytes - shutting down socket Jan 4 23:39:50 Hasim kernel: nfsd: peername failed (err 107)! Jan 4 23:39:50 Hasim kernel: nfsd: peername failed (err 107)! Jan 4 23:40:10 Hasim kernel: rpc-srv/tcp: nf...
2013 Jan 04
10
Unstable NFS mount at heavy load.
...0302] nfs: server 192.168.1.8 not responding, still trying Jan 4 23:51:00 debvm kernel: [ 1554.982479] nfs: server 192.168.1.8 OK From the server side: Jan 4 23:31:33 Hasim kernel: rpc-srv/tcp: nfsd: got error -104 when sending 140 bytes - shutting down socket Jan 4 23:31:33 Hasim kernel: nfsd: peername failed (err 107)! Jan 4 23:39:50 Hasim kernel: rpc-srv/tcp: nfsd: got error -104 when sending 140 bytes - shutting down socket Jan 4 23:39:50 Hasim kernel: nfsd: peername failed (err 107)! Jan 4 23:39:50 Hasim kernel: nfsd: peername failed (err 107)! Jan 4 23:40:10 Hasim kernel: rpc-srv/tcp: nf...
2011 Jul 11
1
${HASH(SIP_CAUSE, ...)} and peer name
Hello, I'm trying to figure out what was the return code of SIP for a call. The problem is that HASH(SIP_CAUSE) require a peer name, but when I try to retrieve the peer name using ${CHANNEL(peername)}, I have an error message that CHANNEL does not have peername or it is not available to be used. I tried to print it with NOOP on a live channel, and also after hangup, both with the same error message. So how can I get SIP_CAUSE, or how can I get the peer name ? Thanks, Ido -------------- next...
2016 Jul 31
3
Removing mailbox and password prompt for voicemail
I tried your extension definition as suggested: exten => *98,1,Verbose(0,${CHANNEL(peername)} calling voicemail) same => n,VoicemailMain(${CHANNEL(peername)}@VoiceMail,s) same => n,Hangup But there was no change in the prompts asked, ie. the voice first asked for 'mailbox', and then 'password' as before. The prompts are not removed. Please clarify what you mean by...
2015 Jun 09
2
Manipulate extension state in 1.8.x
Hi Is there any way to set the presence state of a peer to in-use in asterisk 1.8? The idea is to integrate DND buttons on phones to BLF. Regards -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)161 660 2350 f: +44 (0)161 660 9825 e: ish at pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street
2015 Jun 12
1
Voice mail and caller ID
On Fri, 12 Jun 2015 11:49:05 -0700 John Kiniston <johnkiniston at gmail.com> wrote: > Try this for CHAN_SIP: > > same => n,Set(Peer=${SIPCHANINFO(peername)}) ; Get the peer > same => n,Set(MailBox=${SIPPEER(${Peer},mailbox)}); Get the > mailbox same => n,VoicemailMain(${MailBox}@LocalSets,s) ; If we > have a mailbox defined log into it Perfect. Thanks. However, I didn't bother setting a variable. I just use it directl...
2016 Jul 30
3
Removing mailbox and password prompt for voicemail
...> Bad, bad idea. If you remove the password then anyone can get to the > mailbox. > > > prompt is always heard. Please let me know how Asterisk can be > > configured to remove these prompts. > > Define this local extension: > > exten => *98,1,Verbose(0,${CHANNEL(peername)} calling voicemail) > same => n,VoicemailMain(${CHANNEL(peername)}@VoiceMail,s) > same => n,Hangup > > > -- > D'Arcy J.M. Cain > System Administrator, Vex.Net > http://www.Vex.Net/ IM:darcy at Vex.Net > VoIP: sip:darcy at Vex.Net > -------------- nex...
2020 Jun 13
5
Voice "broken" during calls
Am 13.06.2020 um 13:47 schrieb Michael Keuter: Hi > Try "sip show peer <peername>" for a phone. So: mobile phone: bpi*CLI> sip show peer 0049177xxxxxxx * Name : 0049177xxxxxxx Description : Secret : <Set> MD5Secret : <Not set> Remote Secret: <Not set> Context : default Record On feature : automon...
2016 Jul 30
4
Removing mailbox and password prompt for voicemail
Hello, I am using Asterisk voicemail on a CentOS 7 server. I would like to be able to remove the 'mailbox' prompt and 'password' prompt when a user tries to access their voicemail. I can remove the 'password' prompt by not setting a password for the user, but the 'mailbox' prompt is always heard. Please let me know how Asterisk can be configured to remove these
2015 Jun 09
0
Manipulate extension state in 1.8.x
You can use a custom device state to do it. [dnd] ;DND Toggle exten => *363,1,Answer() same => n,Set(CURRENT_PRESENCE=${DEVICE_STATE(Custom:DND${CHANNEL(peername)})}) same => n,GotoIf($[${CURRENT_PRESENCE}=NOT_INUSE]?*78,1:*79,1) ;DND On exten => *78,1,NoOP(Turning DND On) same => n,Set(DEVICE_STATE(Custom:DND${CHANNEL(peername)})=BUSY) same => n,Playback(do-not-disturb&enabled) same => n,Hangup() ;DND Off exten =>...
2006 Jun 19
2
show queue ... Invalid
Hi! I've added member to a queue like this, from queues.conf: member => SIP/1070@peername It works OK. But, after restaring I see in show queue that Members: SIP/1070@peername (Invalid) ... What does it mean? Why is it Invalid? BTW, reload command fixes it, so the member receives queue calls. Thanks! PS. 1.2.9.1 -- DSS5-RIPE DSS-RIPN 2:550/5068@fidonet 2:550/5069@fidonet x...
2007 Feb 11
0
realtime and save ip server in database
Hello I change this from chan_sip.conf (see ipsvr): static void realtime_update_peer(const char *peername, struct sockaddr_in *sin, const char *username, const char *fullcontact, int expirey) { char port[10]; char ipaddr[20]; char regseconds[20]; time_t nowtime; -> char ipsvr[20]; time(&nowtime); nowtime += expirey; snprint...
2020 Jun 13
3
Voice "broken" during calls
Am 13.06.2020 09:30, schrieb Luca Bertoncello: Hi again (again) I noticed right now another strange detail... I made a call using my mobile phone (connected to the Asterisk). The quality was top... Maybe is the problem in a codec used from our phones at homes? Could someone suggest me how to check the codec used by my mobile phone and the codec used by the phones at home? Thanks Luca
2008 Apr 30
5
get_peername - start_server vs. connect
Hi, On windows, get_peername works both with connections obtained via start_server, and connections obtained via connect. On linux, get_peername seems to only work with connections obtained via start_server. (I''m using svn HEAD.) I''m wondering which is the intended behavior? (I realize get_peername is les...
2023 Jul 22
1
Parallel dialoog with different Alert-Info headers
...llel. Any and all suggestions welcome. With kind regards, Dw. [sub-callout] exten => s, 1,Log(NOTICE, Ringing ${ARG2}) same => n,Set(DIALGROUP(allgroup)=) same => n,While($[${LEN(${ARG1})} != 0]) same => n,Set(PEERNAME=${SHIFT(ARG1,&)}) ; Skip any peer that is currently not connected same => n,ExecIf($[0${SIPPEER(${PEERNAME},port)} != 0]?Set(DIALGROUP(allgroup,add)=SIP/${PEERNAME})) same => n,EndWhile() ; Play...
2020 Jun 13
0
Voice "broken" during calls
So the call used Alaw as Codec. > Am 13.06.2020 um 17:23 schrieb Luca Bertoncello <lucabert at lucabert.de>: > > Am 13.06.2020 um 13:47 schrieb Michael Keuter: > > Hi > >> Try "sip show peer <peername>" for a phone. > > So: > > mobile phone: > bpi*CLI> sip show peer 0049177xxxxxxx > > > > > * Name : 0049177xxxxxxx > > > Description : > > > Secret : <Set> > > > MD5Secret : <Not set> &gt...
2015 Jun 12
2
Voice mail and caller ID
I have this in my sip.conf: exten => *98,1,Verbose(0,CALLERID number is "${CALLERID(num)}") same => n,VoicemailMain(${CALLERID(num)}@LocalSets,s) same => n,Hangup However, my extensions are set up so that they always show the external number, not the extension: [foobar2](client-phone) secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx callerid=Candace <5555551212>
2007 Jan 24
1
[sfs@tc.umn.edu: Re: dovecot-auth file descriptor usage]
...5 gid:65 size:0 O_RDWR FD_CLOEXEC 7: S_IFSOCK mode:0666 dev:293,0 ino:33376 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK SOCK_STREAM SO_REUSEADDR,SO_KEEPALIVE,SO_SNDBUF(49152),SO_RCVBUF(49640),IP_NEXTHOP(0.0.193.232) sockname: AF_INET 134.84.119.102 port: 143 peername: AF_INET 160.94.23.17 port: 38847 8: S_IFSOCK mode:0666 dev:293,0 ino:63591 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK SOCK_STREAM SO_SNDBUF(16384),SO_RCVBUF(5120) sockname: AF_UNIX peername: AF_UNIX default 9: S_IFSOCK mode:0666 dev:293,0 ino:43728 uid:0 gid:...