Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


mjb

mjb

996 posts

Ultimate Geek

Trusted

#31948 6-Apr-2009 12:54
Send private message

So I made the cutover to using Asterisk at home, instead of a single device connecting to iTalk.

I'm seeing odd activity with SIP channels, with items appearing and disappearing quite frequently (CallID is changing), always with the same last message:


host*CLI> sip show channels
Peer User/ANR Call ID Seq (Tx/Rx) Format Hold Last Message
203.184.16.2 (None) 6e34102d1d5 00101/00102 0x0 (nothing) No Rx: OPTIONS
1 active SIP channel


An example from history:


host*CLI> sip show history 7068d0dc4003f59f7b6083cd71fc3ea0@203.184.16.2
* SIP Call
1. Rx OPTIONS / 102 OPTIONS / sip:s@10.x.y.z
2. TxResp SIP/2.0 / 102 OPTIONS - 404 Not Found
3. SchedDestroy 32000 ms


Is this normal? is there anything I should do to correct this?




contentsofsignaturemaysettleduringshipping


Create new topic
joshp
205 posts

Master Geek

Trusted
WorldxChange

  #205531 6-Apr-2009 13:13
Send private message

An OPTIONS message is usually just a keep alive, I suspect this is what you are seeing, try doing an ngrep -d eth0 port 5060 and HOSTIPOFITALK

it should show you the actual SIP messages that are going out/coming in :)






mjb

mjb

996 posts

Ultimate Geek

Trusted

  #205534 6-Apr-2009 13:18
Send private message

I beat you to it by about 30 seconds.

Adding:
exten => s,1,NoOp()

to my default context turned the result into a 200 OK, which confirmed my suspicions that it was simply a keepalive (after refining google search to find a single message in a mailing list thread that was implying such).

Thanks for the response :)

Now to nut out the outgoing dial plan :(. There are way too many patterns to match sadly. I wish there was a definitive list somewhere (is there?).




contentsofsignaturemaysettleduringshipping


sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #205537 6-Apr-2009 13:34
Send private message

mjb: I beat you to it by about 30 seconds.



Adding:

exten => s,1,NoOp()



to my default context turned the result into a 200 OK, which confirmed my suspicions that it was simply a keepalive (after refining google search to find a single message in a mailing list thread that was implying such).



Thanks for the response :)



Now to nut out the outgoing dial plan :(. There are way too many patterns to match sadly. I wish there was a definitive list somewhere (is there?).


How many VoIP providers are you using? If you're only using one there is no real need for a complex dialplan, just use

X.

and all calls will be routed out via iTalk. If you have multiple VoIP providers then you do need to create one for each provider which is very simple when you get the hang of it.






mjb

mjb

996 posts

Ultimate Geek

Trusted

  #205538 6-Apr-2009 13:41
Send private message

sbiddle: How many VoIP providers are you using? If you're only using one there is no real need for a complex dialplan, just use

X.

and all calls will be routed out via iTalk. If you have multiple VoIP providers then you do need to create one for each provider which is very simple when you get the hang of it.





Just the one. I had thought of doing that.. but wasn't sure of the implications. The dial plan is processed in order? so rules before that for dialing each device around the house will be honoured first? A'la:

exten => 20,1,Dial(${HOUSE},,rtT)
exten => 21,1,Dial(${CORDLESS},,tT)
exten => 22,1,Dial(${OFFICE},,tT)
exten => 23,1,Dial(${LOUNGE},,tT)

exten => *99,1,VoicemailMain

exten => _X.,1,Dial(SIP/iTalk/${EXTEN},30,T)






contentsofsignaturemaysettleduringshipping


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.