SIP Header for Balance Update

64 views
Skip to first unread message

Mit Patel

unread,
Jun 10, 2013, 1:02:40 AM6/10/13
to sip...@googlegroups.com
Hi All,


I want to implement the Balance Check from our SIP Server, It supports the 
Balance Option in SIP Header

This is the Sample Packet - Request ... 


OPTIONS sip:...@122.80.60.141 SIP/2.0 
Via:SIP/2.0/UDP 122.80.60.137:5060;branch=z9hG4bK3c9cee9e7e6fd683 
Max-Forwards:70 
To: <sip:...@122.80.60.141> 
From: <sip:...@122.80.60.137>;tag=d3ed4c19-4a7b81d2-6682316e-306f Call-ID:6bbc34c-d3ed4c19-1...@122.80.60.137 
Contact: <sip:...@122.80.60.137> 
CSeq:11 OPTIONS 
Content-Length:0 

---

The server's response is as follows:

SIP/2.0 200 100.88 
Via: SIP/2.0/UDP 192.168.1.105:5060; branch = z9hG4bK3c9cee9e7e6fd683 
Max-Forwards: 70 
To: <sip:quer...@192.168.1.100> 
From: <sip:...@192.168.1.100>; tag = d3ed4c19-13c4-4a7b81d2-6682316e-306f 
Call-ID: 6bbc34c-d3ed4c19-13c4-...@192.168.1.105 
Contact: <sip:...@192.168.1.105> 
CSeq: 11 OPTIONS 
Content-Length: 0

---

--> 100.88 is the Balance. 

I want to Handle this, on Siphon App. 
How to handle it ?


Regards,

Mit
Reply all
Reply to author
Forward
0 new messages