Hi all, -------- I am sorry to ask you this newbie question again but I did not get any answer: If I have installed a asteriskpbx at the public internet what would be my own sip address ? I guess it depends on the callerid . ?? sip.conf [phone2] type=friend host=dynamic dtmfmode=rfc2833 mailbox=9999 context=siphome callerid="Tkc" <2124> ---------- asterisk server = asterisk.mydomain.org I somebody outside of my asterisk system wants to contact "Tkc" via SIP what would be the right sip adress ? I guess : sip:tkc@asterisk.mydomain.org or sip:2124@asterisk.mydomain.org ??? What about sip programs wich does not support number dialing and only accepts full sip compliant addresses in the form of: sip:userid@machine.foo.bar . I want to use the sip client "tkcphone" for the Sharp Zaurus PDA in the asterisk environment and this client does not support number dialing. Do I need additional stuff in extensions.conf ?? regards Olaf
Hi Olaf, It all depends on the dailplan you have setup in extensions.conf and the general context in your sip.conf. In your sip.conf in the general section is the context in which all non specified sip connections will be dropped, for example: context=sip-inbound then make the sip-inbound context in your extensions.conf with a number for your phone [sip-inbound] exten => 200,1,Dial(Sip/phone2) Anyone dailing sip:200@asterisk.mydomain.org will be connect to your phone2 sip account. For the zaurus i think you could also add the following line to your [sip-inbound] context: exten => tkcphone,1,Dial(Sip/phone2) But not 100% about that one. Greetings, Tjardick ----- Original Message ----- From: "Olaf Menzel" <menzel@fokus.fhg.de> To: <asterisk-users@lists.digium.com> Sent: Tuesday, June 17, 2003 10:12 AM Subject: [Asterisk-Users] newbie SIP question> Hi all, > -------- > > I am sorry to ask you this newbie question again but I did not get anyanswer:> > If I have installed a asteriskpbx at the public internet what would be myown> sip address ? I guess it depends on the callerid . ?? > > sip.conf > > [phone2] > type=friend > host=dynamic > dtmfmode=rfc2833 > mailbox=9999 > context=siphome > callerid="Tkc" <2124> > > ---------- > asterisk server = asterisk.mydomain.org > > > I somebody outside of my asterisk system wants to contact "Tkc" via SIPwhat> would be the right sip adress ? I guess : sip:tkc@asterisk.mydomain.org or > sip:2124@asterisk.mydomain.org ??? > > What about sip programs wich does not support number dialing and onlyaccepts> full sip compliant addresses in the form of: sip:userid@machine.foo.bar .I> want to use the sip client "tkcphone" for the Sharp Zaurus PDA in the > asterisk environment and this client does not support number dialing. > > Do I need additional stuff in extensions.conf ?? > > regards > > Olaf > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > >
I'm trying to set up my first phone, Windows Messenger running on an attached PC. It's talking to the server, but the server never responds. Instead, it gives this error: Mar 10 06:26:20 WARNING[163851]: chan_sip.c:455 __sip_xmit: sip_xmit of 0xbe5fa5e0 (len 490) to 192.168.1.99 returned -1: Operation not permitted I could use some suggestions :) My Asterisk is running on my router box: [internet]---<assigned_addr>[router]192.168.1.106---[localnet]--> <---192.168.1.99[pc with winmsgr] I've opened port 5060 UDP in the router, to allow the local net to connect to the router box and back. ACCEPT fw loc udp 5060 ACCEPT loc fw udp 5060 I configured Win Messenger as per <http://pulver.com/fwd/quick/direct-msn.html> My sip.conf contains: [general] general] port = 5060 ; Port to bind to bindaddr = 0.0.0.0 ; Address to bind to localnet = 192.168.1.0 ; Internal NETWORK address localmask = 255.255.255.0 ; Internal netmask context = default ; Default for incoming calls [malfoy] type=friend username=malfoy fromuser=Ed Greenberg secret=2368 host=dynamic defaultip=192.168.1.99
Apologies if this is a dupe. I haven't seen my post in archives or echoed back to me. I'm trying to set up my first phone, Windows Messenger running on an attached PC. It's talking to the server, but the server never responds. Instead, it gives this error: Mar 10 06:26:20 WARNING[163851]: chan_sip.c:455 __sip_xmit: sip_xmit of 0xbe5fa5e0 (len 490) to 192.168.1.99 returned -1: Operation not permitted I could use some suggestions :) My Asterisk is running on my router box: [internet]---<assigned_addr>[router]192.168.1.106---[localnet]--> <---192.168.1.99[pc with winmsgr] I've opened port 5060 UDP in the router, to allow the local net to connect to the router box and back. ACCEPT fw loc udp 5060 ACCEPT loc fw udp 5060 I configured Win Messenger as per <http://pulver.com/fwd/quick/direct-msn.html> My sip.conf contains: [general] general] port = 5060 ; Port to bind to bindaddr = 0.0.0.0 ; Address to bind to localnet = 192.168.1.0 ; Internal NETWORK address localmask = 255.255.255.0 ; Internal netmask context = default ; Default for incoming calls [malfoy] type=friend username=malfoy fromuser=Ed Greenberg secret=2368 host=dynamic defaultip=192.168.1.99